package service.ProjectServiceImpl;

import dao.WorkOrderDao;
import dao.impl.WorkOrderDaoImpl;
import entry.WorkOrder;

import java.util.ArrayList;

public class WorkOrderService implements service.WorkOrderService {
    WorkOrderDao workOrderDao=new WorkOrderDaoImpl();


    @Override
    public ArrayList<WorkOrder> queryByPid(WorkOrder workOrder) {
        return workOrderDao.queryByPid(workOrder);
    }

    @Override
    public int insert(WorkOrder workOrder) {

        return workOrderDao.insert(workOrder);
    }
}
